package com.itcam.ioc_01;

public class ClientService {
    private static ClientService clientService = new ClientService();

    private ClientService() {
    }

    // 在外部通过工厂方法返回一个对象
    public static ClientService createInstance() {

        return clientService;
    }
}